<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>wx-ebook</title>
    <link rel="stylesheet" href="<%= BASE_URL %>statics/css/reset.css">
    <script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js"></script>
        <script>
            FastClick.prototype.focus = function(targetElement) {  var length;
                if ( deviceIsIOS&& targetElement.setSelectionRange
                    && targetElement.type.indexOf('date') !== 0
                    && targetElement.type !== 'time' && targetElement.type !== 'month'
                ) {
                    length = targetElement.value.length;
                    targetElement.focus();
                    targetElement.setSelectionRange(length, length);
                } else {
                    targetElement.focus();
                }
            };
            if ('addEventListener' in document) {
                document.addEventListener('DOMContentLoaded', function() {
                    FastClick.attach(document.body);
                }, false);
            }
            if(!window.Promise) {
                document.writeln('<script src="https://cdn.bootcss.com/es6-promise/4.1.1/es6-promise.min.js"'+'>'+'<'+'/'+'script>');
            }
        </script>
    </head>
    <body>
        <noscript>
            <strong>We're sorry but wx-ebook doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
        </noscript>
        <div id="app"></div>
    </body>
</html>
